<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>品优购商品列表页</title>
    <!-- 引入第3方辅助插件css -->
    <link rel="stylesheet" href="../lib/fontawesome/css/font-awesome.css">
    <link rel="stylesheet" href="../lib/mui/css/mui.css">
    <!-- 引入公共样式css -->
    <link rel="stylesheet" href="../css/comment.css">
    <!-- 引入当前页面样式css -->
    <link rel="stylesheet" href="../css/goods_list.css">
</head>

<body>
    <!-- 页面顶部 -->
    <header id="header" class="mui-bar mui-bar-nav header_bgc">
        <h1 class="mui-title">商品列表</h1>
        <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
        <a class="mui-icon mui-icon-bars mui-pull-right"></a>
    </header>

    <!-- 商品列表主体内容 -->
    <div class="pyg_view">
        <div class="pyg_main">
            <ul class="goods_list">
                <!-- 商品列表模板 占位 -->
            </ul>
        </div>
    </div>

    <!-- 页面底部 -->
    <footer class="pyg_footer">
        <a href="../index.html">
            <span class="fa fa-home"></span>
            <div>首页</div>
        </a>
    
        <a href="./category.html">
            <span class="fa fa-list-ul"></span>
            <div>分类</div>
        </a>
    
        <a href="javascript:;">
            <span class="fa fa-shopping-cart "></span>
            <div>购物车</div>
        </a>
    
        <a href="javascript:;"><span class="fa fa-user-circle-o"></span>
            <div>我的</div>
        </a>
    </footer>
</body>
<!-- 引入第3方辅助插件js -->
<script src="../lib/mui/js/mui.min.js"></script>
<!-- 引入zepto.js -->
<script src="../lib/zepto/zepto.js"></script>
<!-- 引入模板引擎 -->
<script src="../lib/arttemplate/template-web.js"></script>
<!-- 引入公共js -->
<script src="../js/comment.js"></script>
<!-- 引入当前页面的js -->
<script src="../js/goods_list.js"></script>

<!-- template模板 -->
<!-- 商品列表 -->
<script type="text/template" id="glTpl">
{{each goods value index}}
    <li>
        <a href="./goods_detail.html?goods_id={{value.goods_id}}">
            <div class="goods_img">
                <img src="{{value.goods_small_logo}}">
            </div>

            <div class="goods_tp">
                <div class="goods_title">
                   {{value.goods_name}}
                </div>
                <span class="goods_price">￥{{value.goods_price}}</span>
            </div>
        </a>
    </li>
{{/each}}
</script>

</html>